package com.qfedu.wisdomapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;


/**
 * @Description:
 * @Author: 第六组
 * @Date: 2022/09/23 21:28:35
 */
@Data
@TableName("t_goods")
public class Goods {
    /**主键自增*/
    @TableId(type = IdType.AUTO)
    private Long id;
    /**1.未审核 2.审核通过 3.审核失败 4，上架 5.下架*/
    private Integer flag;
    /**商品名称*/
    private String title;
    /**原价*/
    private Double oldprice;
    /**现价*/
    private Double currprice;
    /**图片链接*/
    private String imgurl;
    /**库存*/
    private Integer num;
    /**商品描述*/
    private String info;
    /**商品类型ID*/
    private Long tid;
    /**邮费 如果为0包邮*/
    private Double post;
    /***/
    private Date ctime;
}